/**
 *
 */
package com.zhengtoon.mctoon.conv.bean.sdzc;

import java.io.Serializable;

/**
 * 信件Entity
 *
 * @author 刘振华
 * @version 2017-04-12
 *          Copyright: Copyright (c) 2017
 *          Company:北京政务通科技有限公司
 */
public class Letter implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;    // 自然主键id
    private String letterId;    // 信件主键id
    private Long convId;    // 随手拍记录id
    private String userId;    // 用户id
    private String communityCode;    // 接入社区代码
    private String communityUuid;    // 接入社区UUID
    private String sysLetterId;    // 信件社区内部ID
    private Integer letterType;    // 信件类型1咨询2建议3业务投诉4政风投诉
    private String letterTitle;    // 信件标题
    private String letterContent;    // 信件内容
    private Integer openType;    // 是否公开 0不公开 1公开
    private Integer anonymousType;    // 是否匿名 0 匿名 1不匿名
    private String orgId;    // 社区部门id
    private Integer remindType;    // 回复提醒类型1系统提醒2手机提醒3	邮件提醒
    private String writer;    // 写信人用户名
    private String writerName;    // 写信人真实姓名
    private String writerEmail;    // 写信人电子邮箱
    private String writerMobile;    // 写信人手机
    private String writerTelephone;    // 写信人固定电话
    private String writerPostCode;    // 写信人邮编
    private String writerAddress;    // 写信人通信地址
    private String letterStatus;    // 信件状态
    private Integer bjtStatus;    // 信件状态-北京通系统内部
    private String submitTime; //提交时间
    private Long createTime;    // 创建时间
    private Long updateTime;    // 更新时间
    private String letterAttachZipStream; // 附件内容

    private String transferLetterId;// 转办子信件id, 用于中科软系统返回参数封装, 不作为实体属性

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getLetterId() {
        return letterId;
    }

    public void setLetterId(String letterId) {
        this.letterId = letterId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getCommunityCode() {
        return communityCode;
    }

    public void setCommunityCode(String communityCode) {
        this.communityCode = communityCode;
    }

    public String getCommunityUuid() {
        return communityUuid;
    }

    public void setCommunityUuid(String communityUuid) {
        this.communityUuid = communityUuid;
    }

    public String getSysLetterId() {
        return sysLetterId;
    }

    public void setSysLetterId(String sysLetterId) {
        this.sysLetterId = sysLetterId;
    }

    public Integer getLetterType() {
        return letterType;
    }

    public void setLetterType(Integer letterType) {
        this.letterType = letterType;
    }

    public String getLetterTitle() {
        return letterTitle;
    }

    public void setLetterTitle(String letterTitle) {
        this.letterTitle = letterTitle;
    }

    public String getLetterContent() {
        return letterContent;
    }

    public void setLetterContent(String letterContent) {
        this.letterContent = letterContent;
    }

    public Integer getOpenType() {
        return openType;
    }

    public void setOpenType(Integer openType) {
        this.openType = openType;
    }

    public Integer getAnonymousType() {
        return anonymousType;
    }

    public void setAnonymousType(Integer anonymousType) {
        this.anonymousType = anonymousType;
    }

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    public Integer getRemindType() {
        return remindType;
    }

    public void setRemindType(Integer remindType) {
        this.remindType = remindType;
    }

    public String getWriter() {
        return writer;
    }

    public void setWriter(String writer) {
        this.writer = writer;
    }

    public String getWriterName() {
        return writerName;
    }

    public void setWriterName(String writerName) {
        this.writerName = writerName;
    }

    public String getWriterEmail() {
        return writerEmail;
    }

    public void setWriterEmail(String writerEmail) {
        this.writerEmail = writerEmail;
    }

    public String getWriterMobile() {
        return writerMobile;
    }

    public void setWriterMobile(String writerMobile) {
        this.writerMobile = writerMobile;
    }

    public String getWriterTelephone() {
        return writerTelephone;
    }

    public void setWriterTelephone(String writerTelephone) {
        this.writerTelephone = writerTelephone;
    }

    public String getWriterPostCode() {
        return writerPostCode;
    }

    public void setWriterPostCode(String writerPostCode) {
        this.writerPostCode = writerPostCode;
    }

    public String getWriterAddress() {
        return writerAddress;
    }

    public void setWriterAddress(String writerAddress) {
        this.writerAddress = writerAddress;
    }

    public String getLetterStatus() {
        return letterStatus;
    }

    public void setLetterStatus(String letterStatus) {
        this.letterStatus = letterStatus;
    }

    public Integer getBjtStatus() {
        return bjtStatus;
    }

    public void setBjtStatus(Integer bjtStatus) {
        this.bjtStatus = bjtStatus;
    }

    public String getSubmitTime() {
        return submitTime;
    }

    public void setSubmitTime(String submitTime) {
        this.submitTime = submitTime;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    public String getLetterAttachZipStream() {
        return letterAttachZipStream;
    }

    public void setLetterAttachZipStream(String letterAttachZipStream) {
        this.letterAttachZipStream = letterAttachZipStream;
    }

    public String getTransferLetterId() {
        return transferLetterId;
    }

    public void setTransferLetterId(String transferLetterId) {
        this.transferLetterId = transferLetterId;
    }

    public Long getConvId() {
        return convId;
    }

    public void setConvId(Long convId) {
        this.convId = convId;
    }

    @Override
    public String toString() {
        return "Letter{" +
                "id=" + id +
                ", letterId='" + letterId + '\'' +
                ", userId='" + userId + '\'' +
                ", communityCode='" + communityCode + '\'' +
                ", communityUuid='" + communityUuid + '\'' +
                ", sysLetterId='" + sysLetterId + '\'' +
                ", letterType=" + letterType +
                ", letterTitle='" + letterTitle + '\'' +
                ", letterContent='" + letterContent + '\'' +
                ", openType=" + openType +
                ", anonymousType=" + anonymousType +
                ", orgId='" + orgId + '\'' +
                ", remindType=" + remindType +
                ", writer='" + writer + '\'' +
                ", writerName='" + writerName + '\'' +
                ", writerEmail='" + writerEmail + '\'' +
                ", writerMobile='" + writerMobile + '\'' +
                ", writerTelephone='" + writerTelephone + '\'' +
                ", writerPostCode='" + writerPostCode + '\'' +
                ", writerAddress='" + writerAddress + '\'' +
                ", letterStatus='" + letterStatus + '\'' +
                ", bjtStatus=" + bjtStatus +
                ", submitTime='" + submitTime + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", letterAttachZipStream='" + letterAttachZipStream + '\'' +
                ", transferLetterId='" + transferLetterId + '\'' +
                '}';
    }
}